SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7de072897198b914e930a20ff49aa7458150ba0f46e5674917497073b1d5398' 
  AND token = 'EORItE/k2R5UdJlLAqFOY6TIvDVYBLb1jvQ5eZ0jnfE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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