SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2ffddd2aa98bad3a300c9d4ad383056e2b613777bbba8546ef631bffb05cc9b' 
  AND token = 'D+r/Fkxs4PwfdTISmZJf4W68NS0ZZFlRx/ZQMj63swY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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