SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e5bcb8dc6f4522d78526c3fe6e6b2c38cc3e6aa5b88c42f02b549e0c8a800a5' 
  AND token = 'v0poQBc6uWz8bH2wO8MmtSXBVk4a3n8nx9G/NDxLZAc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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