SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8eb252a242c3b9c18ac0d45c071c7dc0a39a1cc0aa5f5aff9abed69e593bace1' 
  AND token = 'z2HVGeUFP5/ER28vMbXy+3ajUfsNkY7/o3JXfzzCwBo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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