SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '790af395ee675116b99c9909f51d96ae17fdef1b46f2564bf436dc4c4a4b07e9' 
  AND token = 'Ofbgwb77P/f6x8tXg9Mf7U4Oa8p4bz6X1E5dnJ2wQ/g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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