SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b581df99ab9c0472362ff17ad582bfe3675d7ef1d638e61c3750a887a5eb5eab' 
  AND token = '3MHQMAhq1tWPt2Z/15GjlpOT6bd1UYnDVkiTVpEvIo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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