SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3c566bfc1d0ba7819c737e94409d4a74a50fdb3fdbc234dbf4196edaec309284' 
  AND token = 'w/CBfF6xM8MktA+dcA56OaH/cGABvnZstTzKNANKyO4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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