SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '529b3edf29273d03c0c9fdf4e202087936269f993c759fc03d81d5808ec17ce7' 
  AND token = 'FpaYmzojJbilcAcgWap2p3db2NHB5phkklkSW7bGcF8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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