SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4cc7847f4a62b4a2fdd58d87802b290c467e672f5b875969f7cda352915f4c62' 
  AND token = 'DCOc+oSGq9iFHWUF18w4l5Ql6l+FMNNPsG40expmNi8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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