SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1af65a0e523e03588a2bdfb81850b1dfae0f66b0a385a82e6525d4e14883aa33' 
  AND token = 'qIPN4CARolrlnY3+9iKgM+aTIcsSo41TDftESbSPHLw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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