SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ec0b047a805562653f431808d6ac934531179ffe6a1032576d70cd9d1a1ffef' 
  AND token = 'UUD/yMImZJhYjzm9ckR6Xs4f4T3oWdE9CIdMrAi+NSA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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