SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f40ce598c2502942a4818b4974444b0f618db2f782efd69b20adaa10e33d1764' 
  AND token = '87oVF3NWuWNNWpWAf7ZR+ylpo4IaoklJjaEzSnxEd5A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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