SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '263f41b0fa2ff0ddf6a8324f000b4ace2a3b1f8faa167ac81ed04073f94480d4' 
  AND token = 'YySw6tlNwLz8qRdqBZ7VCNauZYku5N9OWz/pEYR2rp8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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