SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e64008f937fb852810fa0de78e7611ca84d96bca331d607f3324dbe615db875a' 
  AND token = 'epmIh6dedoYLW9d1qCbHi59Nh5KIFOdoaZ4QNBJ735c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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