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

Query time 0.00047

JSON explain

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