SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3cb0cbd44ec98605a18e7b97f00379cf5d078cff0ae2ab31449d361daa22027b' 
  AND token = 'C2KoIrIn1PjTeTguhutqIMdpp45kj73CP9NBtwYltvQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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