SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae9132a163bc79a5b3babf1a03a38b4ec70fd8c947d1be963c92b957d0324f8f' 
  AND token = 'mYbRslRLnS4C99Wxa31Glb02plvuTaZklUe298zsXbk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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