SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e922e1634656f278f989500e265ffe3942052677aaa411298c17df13d49dbd4' 
  AND token = 'CPGQPPrQsFNK/pD9Rk769bHiSOc/Z6GfwsSAKxv95Qc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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