SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a2770377f96bfc829ae42b928a7a61043999e191973c29a795bde7dc84a1507' 
  AND token = '6zpW1PQDsQqu13uf5/82xcy1Y76o7BRudn76os79AVw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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