SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c129f8955e5a2955dbfffca1a8743055eeeef2b57ec979e851c89905e4036542' 
  AND token = 'jroFv5CqCTvJRZ+qpwc+j+CT/5vyKifRwZCudbkFQBk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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