SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef4ab90fdcaed5d4ae7d099a31be2fa170b8c2063c0a8d0cab2d5b167137449e' 
  AND token = 'XPyjg0Chb/Sxg5I3nXdiRSrVKe0AmOJnLkE468DyqxY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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