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

Query time 0.00046

JSON explain

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