SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5312ad33d989994a4e69db7cd37b60d2a0a1bbfa3fce08fa638fb80312f3bfae' 
  AND token = 'v3x2dKyOC8L/z8rTRnViGHCHXNO6auV70Sp6nym6FQg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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