SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f371f9e675889df97153efd10418cced229238005b00e723cbc17e32281e5b9' 
  AND token = 'UENwxeGW72Bk4A3uUZH3yg4MUv6RcKu0J94h7FXYk5Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}