SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a8b7a0268c3eced2c793fd57cd416e77bbdfbd9ab6177fafc652d38125b1545' 
  AND token = '9V3j1MiDHLPE2yVQM0Dsqnvr2a0LE4PMKsPETVqku48=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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